<template>
	<view class="app">
		<button @click="pageTo('kong')">测试空云函数</button>
		<button @click="pageTo('db-1')">测试每次1次数据库查询</button>
		<button @click="pageTo('db-2')">测试每次2次数据库查询</button>
		<button @click="pageTo('db-5')">测试每次5次数据库查询</button>
		<button @click="pageTo('db-transaction-2')">测试每次2次数据库操作(事务)</button>
		<button @click="pageTo('db-transaction-2-2')">同时测试事务和非事务性能</button>
	</view>
</template>

<script>
export default {
	data() {
		return {
			
		};
	},
	onLoad(options) {
		
	},
	methods: {
		pageTo(url) {
			uni.navigateTo({ url });
		}
	}
};
</script>

<style>
.app {
	padding: 15px;
}
.app button {
	margin-bottom: 15px;
	font-size: 32rpx;
	margin-left: auto;
	margin-right: auto;
	padding-left: 14px;
	padding-right: 14px;
}
</style>
